﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" CodeFile="CatSub.ascx.vb"
    Inherits="NVPortal.Modules.NVProduct.CatParent" %>
<style type="text/css">
#ProductCatProduct .tablemain {background: url(/Portals/_default/Skins/NoiThat/img/container_spbg.png) top repeat-x #fff;}
    #ProductCatProduct .Title {background: url(/Portals/_default/Skins/NoiThat/img/container_spbgt.png) no-repeat left; height: 30px;}
    #ProductCatProduct .Title .Head {font-family: Tahoma; font-size: 11px; color: #005197; font-weight: bold; padding-left: 26px;}
    #ProductCatProduct .content {padding: 18px 5px 0px 5px;}
    #ProductCatProduct
    {
        position: relative;
        background: #fff;
    }
    #ProductCatProduct ul
    {
        background: #fff;
    }
    #ProductCatProduct .PKM_Item
    {
        float: left;position: relative;
        padding: 0px 6px; height: 190px;
    }
    
    #ProductCatProduct .PKM_Item .PKM_Info
    {border: solid 1px #ccccca;
        width: 150px;
        height: 110px;
        position: relative;
        z-index: 1;
    }
    #ProductCatProduct .PKM_Item .PKM_Info .PKM_Img {position: relative; height: 105px; z-index: -1;overflow: hidden;}
    #ProductCatProduct .PKM_Item .PKM_Info .PKM_Avatar
    {
        padding: 5px;
         width: 140px;
        position: relative;margin: 0px 0px 0 0;
        z-index: -1;
    }
    #ProductCatProduct .PKM_Item .PMK_Title
    {
        padding-top: 5px;
        text-align: center;
        position: relative; width: 150px;  height: 65px;
    }
#ProductCatProduct .PKM_Item .PMK_Title P {font-family: Tahoma; font-size: 11px; color: #666666; font-weight: normal; line-height: 3px;}
    #ProductCatProduct .PKM_Item .PMK_Title a.PMK_Titletextr:link, #ProductCatProduct .PKM_Item .PMK_Title a.PMK_Titletextr:visited {font-family: Tahoma; font-size: 11px; color: #666666; font-weight: bold;}
    #ProductCatProduct .PKM_Item .PMK_Title a.PMK_Titletextr:hover {font-family: Tahoma; font-size: 11px; color: #000; font-weight: bold;}
    
    #ProductCatProduct .PKM_ItemSPCL
    {
        float: left;position: relative;
        padding: 0px 6px; height: 180px;
    }
    #ProductCatProduct .PKM_ItemSPCL .PKM_Info
    {border: solid 1px #ccccca;
        width: 150px;
        height: 110px;
        position: relative;
        z-index: 1;
    }
    #ProductCatProduct .PKM_ItemSPCL .PKM_Info .PKM_Img {position: relative; height: 105px; z-index: -1;overflow: hidden;}
    #ProductCatProduct .PKM_ItemSPCL .PKM_Info .PKM_Avatar
    {
        padding: 5px;
         width: 140px;
        position: relative;margin: 0px 0px 0 0;
        z-index: -1;
    }
    #ProductCatProduct .PKM_ItemSPCL .PMK_Title
    {
        padding-top: 5px;
        text-align: center;
        position: relative; width: 150px;  height: 65px;
    }
#ProductCatProduct .PKM_ItemSPCL .PMK_Title P {font-family: Tahoma; font-size: 11px; color: #666666; font-weight: normal; line-height: 3px;}
    #ProductCatProduct .PKM_ItemSPCL .PMK_Title a.PMK_Titletextr:link, #ProductCatProduct .PKM_ItemSPCL .PMK_Title a.PMK_Titletextr:visited {font-family: Tahoma; font-size: 11px; color: #666666; font-weight: bold;}
    #ProductCatProduct .PKM_ItemSPCL .PMK_Title a.PMK_Titletextr:hover {font-family: Tahoma; font-size: 11px; color: #000; font-weight: bold;}
/*--Sản phẩm Trang chủ-------*/
.pagination {}
.pagination li {float: left; padding: 5px 10px;}
.pagination li.current {background: #BEBEBE;font-weight: bold;}
.pagination li.current a:link, .pagination li.current a:visited {font-weight: bold; color: Red;}
</style>
<table cellpadding="0" cellspacing="0" border="0" style="height: 30px; background: url(/Portals/_default/Skins/NoiThat/img/catbg.png) repeat-x; width: 100%; padding: 0px;">
    <tr><td style="height: 30px;background: url(/Portals/_default/Skins/NoiThat/img/catbg1.png) no-repeat left; padding: 0px 0px 0px 23px;">
        <span id="CatParent" runat="server" style="font-family: Tahoma; font-size: 12px; font-weight: bold; color: #343434;"><asp:HyperLink CssClass="lblCatShow catParentCatproduct" id="lblCatParent" runat="server"></asp:HyperLink>&nbsp;&nbsp;>&nbsp;&nbsp;</span>
        <span id="CatProduct" runat="server" style="font-family: Tahoma; font-size: 12px; font-weight: bold; color: #343434;"><asp:Label CssClass="lblCatShow catParentCatproduct" id="lblCatProduct" runat="server"></asp:Label></span>
        
    </td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="background: #fff;
    font-family: Tahoma; font-size: 12px; color: #333333; padding-bottom: 10px;">
    <tr>
        <td style="vertical-align: top; padding: 15px 15px;">
            <div id="ProductCatProduct">
            <asp:Repeater ID="rptSanpham" runat="server">
        <ItemTemplate>
            <div class="PKM_Item">
                <div class="PKM_Info">
                    <div class="PKM_Img">
                        <asp:HyperLink CssClass="NewsSpecialD_Orther" ID="hplOtherNews" runat="server" ToolTip='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"Tensanpham"))%>'
                            NavigateUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,"id"),DataBinder.Eval(Container.DataItem,"tensanpham")) %>'>
                        <img src='<%# "/Portals/" & PortalId & "/Product/" & DataBinder.Eval(Container.DataItem,"Avatar")%>' class="PKM_Avatar" alt='<%# DataBinder.Eval(Container.DataItem,"Tensanpham")%>' /><br />
                        </asp:HyperLink>
                    </div>
                </div>
                <div class="PMK_Title">
                    <asp:HyperLink CssClass="PMK_Titletextr" ID="HyperLink1" runat="server" Text='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"Tensanpham"))%>'
                        NavigateUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,"id"),DataBinder.Eval(Container.DataItem,"tensanpham")) %>' />
                        <p>MSP: <b><%# DataBinder.Eval(Container.DataItem,"Masapham")%></b></p>
                        <p>Giá: <b><%# DataBinder.Eval(Container.DataItem, "Gia")%></b> VNĐ</p>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater></div>
    </td></tr>
    <tr><td style="padding:2px 0px; border-bottom:solid 1px #d6d6d6;border-top:solid 1px #d6d6d6; background:#F5F5F5;">
            <asp:Label ID="lblPagination" CssClass="pagination" runat="server"></asp:Label>
        </td>
    </tr>
</table>
